/**
 * <p>jpa repository</p>
 * <PRE>
 * <BR>    修改记录
 * <BR>-----------------------------------------------
 * <BR>    修改日期         修改人          修改内容
 * </PRE>
 *
 * @author zl
 * @date Created in 2019/4/15 15:50
 * @version 1.0
 * @copyright: Copyright (c) founders
 *
 * jpa example：
 *
 * @Repository
 * public interface TestRepository extends JpaRepository<Test, Long>, JpaSpecificationExecutor<Test> {
 *
 *      @Transactional(rollbackOn=Exception.class)
 *      @Modifying(clearAutomatically = true)
 *      @Query(value = "update test set state=1 where type =:type and id in (:ids)", nativeQuery = true)
 *      int updateTest(@Param("type") Integer type,@Param("ids") Long[] ids);
 * }
 *
 *
 */

package com.zlcx.tz.live.repository;